package com.aegean.MonitorExamSYS.conduction.tools;

public class TypeConvert {
	public static String NumToName(int num) {
		if (num == 0) {
			return "停用";
		} else {
			return "开启";
		}
	}

	public static int NameToNum(String bigType) {
		if (bigType.equals("停用")) {
			return 0;
		} else {
			return 1;
		}
	}
}
